home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Libraries / CW GUSI 1.6.4 / include / GUSIPPC_P.h < prev    next >
Text File  |  1994-12-31  |  882b  |  37 lines

  1. /*********************************************************************
  2. Project    :    GUSI                -    Grand Unified Socket Interface
  3. File        :    GUSIPPC_P.h        -    Common definitions for PPC Sockets
  4. Author    :    Matthias Neeracher
  5. Language    :    MPW C++
  6.  
  7. $Log: GUSIPPC_P.h,v $
  8. Revision 1.1  1994/02/25  02:57:23  neeri
  9. Initial revision
  10.  
  11. Revision 0.1  1993/11/07  00:00:00  neeri
  12. Extracted from GUSIPPC.cp
  13.  
  14. *********************************************************************/
  15.  
  16. #include "GUSI_P.h"
  17. #include <PPCToolBox.h>
  18.  
  19. #include <sys/types.h>
  20.  
  21. class PPCSocketDomain : public SocketDomain {
  22.     Boolean    ppcInit;
  23. public:
  24.     PPCSocketDomain();
  25.     
  26.     virtual    Socket *     socket(int type, short protocol);
  27.     virtual     int             choose(
  28.                                     int         type, 
  29.                                     char *     prompt, 
  30.                                     void *     constraint,        
  31.                                     int         flags,
  32.                                     void *     name, 
  33.                                     int *     namelen);
  34. };
  35.  
  36. extern PPCSocketDomain    PPCSockets;
  37.